File field properties

To display file field properties in the Property inspector, select a file field in a form. See also Forms overview.

FileField assigns a name to the field. This field is required and the name must be unique.

Char Width sets the maximum number of characters that can be displayed in the field. This number can be less than Max Chars, which specifies the number of characters that can be entered in the field.

Max Chars sets the maximum number of characters that can be entered in the field. Use this property to limit the length of file names.

Note: Confirm with your server's administrator that anonymous file uploads are allowed before using the file field. If you insert a file field with Dreamweaver, you must manually insert ENCTYPE="multipart/form-data" into the FORM tag to ensure that the file is encoded properly.